package com.ydkj.a37e_mall.Classes.Model.Request;

import com.ydkj.a37e_mall.Classes.Model.Base.BaseReq;

/**
 * Created by Administrator on 2017/2/7.
 */

public class GetMallOrderReq extends BaseReq {

    //uuid=当前登录用户&message=给卖家的留言&cart_id=购物车编号
    // &address_id=收货地址编号&store_id=门店编号&delivery_type=配送方式(1为快递配送,2为门店自提)的RSA加密字符串

    private String uuid, message, cart_id, number,address_id, store_id, delivery_type;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCart_id() {
        return cart_id;
    }

    public void setCart_id(String cart_id) {
        this.cart_id = cart_id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getAddress_id() {
        return address_id;
    }

    public void setAddress_id(String address_id) {
        this.address_id = address_id;
    }

    public String getStore_id() {
        return store_id;
    }

    public void setStore_id(String store_id) {
        this.store_id = store_id;
    }

    public String getDelivery_type() {
        return delivery_type;
    }

    public void setDelivery_type(String delivery_type) {
        this.delivery_type = delivery_type;
    }

    public String urlString() {
        return "/order/create";
    }

    public String getString() {
        //uuid,message,cart_id,address_id,store_id,delivery_type;

        String string = "uuid=" + uuid  + "&cart_id=" + cart_id+ "&num=" + number + "&address_id=" + address_id + "&store_id=" + store_id + "&delivery_type=" + delivery_type;
        return string;
    }

    public String getString2() {
        //uuid,message,cart_id,address_id,store_id,delivery_type;

        String string = "uuid=" + uuid + "&message=" + message + "&cart_id=" + cart_id + "&num=" + number+ "&address_id=" + address_id + "&store_id=" + store_id + "&delivery_type=" + delivery_type;
        return string;
    }
}
